{extend name="wap/default_new/base" /} 
{block name="resources"}
<link rel="stylesheet" type="text/css" href="__TEMP__/{$style}/public/css/foundation.css">
<link rel="stylesheet" type="text/css" href="__TEMP__/{$style}/public/css/common-v4.4.css">
<link rel="stylesheet" type="text/css" href="__TEMP__/{$style}/public/css/normalize.css">
<link rel="stylesheet" type="text/css" href="__TEMP__/{$style}/public/css/dis-v4.4.css">
<link rel="stylesheet" type="text/css" href="__TEMP__/{$style}/public/css/my_commission.css">
{/block} 

{block name="main"}
<section class="head">
	<a class="head_back" href="javascript:window.history.go(-1);"><i class="icon-back"></i></a>
	<div class="head-title" style="position: relative;">我的佣金 <a class="a-borkerage" href="{:__URL('APP_MAIN/Distribution/userAccountRecordsList','shop_id='.$shop_id)}" style="position: absolute;right: 10px;">明细</a></div>
	
</section>

<div style="height: 44px;; background: #fff;"></div>
<div class="bro-spare" style="overflow:hidden;background:linear-gradient(#FF583E, #FF7A3C ) ; margin-top: 0px;">
	<div class="tip_head">
		<p class="tip-txt"><i class="icon-money"></i>可提现佣金余额</p>
		<span class="number-big">¥{$user_account.commission_cash}</span>
	</div>
	<div class="tip_bottom">
		<p class="field-2 lf">累计佣金<br/><big>￥{$user_account.commission}</big></p>
		<p class="field-2 lf">待审核金额<br/><big>￥{$user_account.commission_locked}</big></p>
		<p class="field-2 rg">已提现<br/><big>￥{$user_account.commission_withdraw}</big></p>
	</div>
</div>


<!--推广员--> 
<div style="background:#fff;">
<p class="xiajip"><span class="xiajispanleft"><i class=" module-icon extension"></i>推广员</span><span class="xiajispanright"></span></p>
<ul class="maneylist">
	<li class="maneylist-li">
		<a  class="a-personal" href="{:__URL('APP_MAIN/distribution/userAccountRecordsDetail','shop_id='.$shop_id.'&type_id=1')}">
		 	 <span class="text">分销佣金</span> <span class="money-number">¥{$user_account.commission_promoter}<i class="arrow"></i></span>
		</a> 
	</li>
	{if condition ="$shop_config['is_regional_agent'] > 0"}
		<li class="maneylist-li">
			<a  class="a-personal" href="{:__URL('APP_MAIN/distribution/userAccountRecordsDetail','shop_id='.$shop_id.'&type_id=2')}"> 
			     <span class="text">区域代理佣金</span> <span class="money-number">¥{$user_account.commission_region_agent}<i class="arrow"></i></span>
			</a> 
		</li>
	{/if}
<!-- 	<li class="maneylist-li">
	     <a  class="a-personal" href="">
	         <span class="text">推广员团队分红</span> <span class="money-number">¥{$user_account.commission_promoter_team}<i class="arrow"></i></span>
	     </a> 
	</li>
	<li class="maneylist-li">
	    <a  class="a-personal" href="{:__URL('APP_MAIN/distribution/userAccountRecordsDetail','shop_id='.$shop_id.'&type_id=3')}">
	        <span class="text">渠道代理分红</span> <span class="money-number">¥{$user_account.commission_channelagent}<i class="arrow"></i></span>
	    </a>
	</li>
 -->
</ul>
</div>
{if condition ="$shop_config['is_partner_enable'] > 0"}
<div class="blank"></div>
<!--股东--> 
<div class="nav_two" style="background:#fff;">
<p class="xiajip"><span class="xiajispanleft gd"><i class="shareholder"></i>股东</span><span class="xiajispanright"></span></p>
<ul class="maneylist" style="display:;">
	<li class="maneylist-li">
		<a  class="a-personal" href="{:__URL('APP_MAIN/distribution/userAccountRecordsDetail','shop_id='.$shop_id.'&type_id=4')}"> 
			 <span class="text">股东分红</span> <span class="money-number">¥{$user_account.commission_partner}<i class="arrow"></i></span>
		</a>
	</li>
	{if condition ="$shop_config['is_global_enable'] > 0"}
		<li class="maneylist-li">
		    <a  class="a-personal" href="{:__URL('APP_MAIN/distribution/userAccountRecordsDetail','shop_id='.$shop_id.'&type_id=5')}"> 
			     <span class="text">全球分红</span> <span class="money-number">¥{$user_account.commission_partner_global}<i class="arrow"></i></span>
		    </a> 
		</li>
	{/if}
<!-- 	<li class="maneylist-li">
		<a  class="a-personal" href="">
		   <span class="text">股东团队分红</span> <span class="money-number">¥{$user_account.commission_partner_team}<i class="arrow"></i></span>
		</a> 
	</li> -->
</ul>
</div>
{/if}
<div class="bro-extract-btn">
	<a href="{:__URL('APP_MAIN/distribution/toWithdraw','shop_id='.$shop_id)}" class="button [radius round] red">申请提现</a>
</div>

{/block}
{block name="bottom"}{/block}
{block name="javascript"}
<script type="text/javascript">
/* 	$(document).ready(function() {
		$(".a-borkerage-detail").click(function() {
			$(this).removeClass();
			$(this).addClass('a-borkerage-detail_2');
		})
	}) */
 </script> 
             
{/block}
